package net.maku.association.convert;

import net.maku.association.entity.InterestAssociationDynamicsEntity;
import net.maku.association.vo.InterestAssociationDynamicsVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 协会动态
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-26
*/
@Mapper
public interface InterestAssociationDynamicsConvert {
    InterestAssociationDynamicsConvert INSTANCE = Mappers.getMapper(InterestAssociationDynamicsConvert.class);

    InterestAssociationDynamicsEntity convert(InterestAssociationDynamicsVO vo);

    InterestAssociationDynamicsVO convert(InterestAssociationDynamicsEntity entity);

    List<InterestAssociationDynamicsVO> convertList(List<InterestAssociationDynamicsEntity> list);

}